package test.relics;

import com.megacrit.cardcrawl.actions.common.ApplyPowerAction;
import com.megacrit.cardcrawl.actions.common.DrawCardAction;
import com.megacrit.cardcrawl.actions.common.GainBlockAction;
import com.megacrit.cardcrawl.actions.utility.HandCheckAction;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.dungeons.AbstractDungeon;
import com.megacrit.cardcrawl.potions.AbstractPotion;
import com.megacrit.cardcrawl.relics.AbstractRelic;
import com.megacrit.cardcrawl.rooms.AbstractRoom;
import mutsumimod.MutsumiMod;
import mutsumimod.character.Mutsumi;
import mutsumimod.powers.StandPower;
import mutsumimod.relics.BaseRelic;
import test.patches.SoyoRelicPatch;

public class SoyoRelic extends BaseRelic {
    public static final String ID = MutsumiMod.makeID(SoyoRelic.class.getSimpleName());
    public static final String IMG_NAME = "Test";

    public SoyoRelic() {
        super(ID, IMG_NAME, Mutsumi.Meta.CARD_COLOR, RelicTier.STARTER, LandingSound.CLINK);
    }

    @Override
    public void betterOnUsePotion(AbstractPotion potion) {
        if (AbstractDungeon.getCurrRoom().phase == AbstractRoom.RoomPhase.COMBAT) {
            flash();
            SoyoRelicPatch.SoyoRelicFieldPatch.hasUsed.set(potion,true);
        }
    }

    @Override
    public String getUpdatedDescription() {
        return DESCRIPTIONS[0];
    }

    @Override
    public AbstractRelic makeCopy() {
        return new SoyoRelic();
    }

}
